package com.wlstock.funi.model;

import java.util.Date;

import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable
public class AIAccountsModel extends MyAccountStocks {
	
	public AIAccountsModel(){}
	
	public void setWithFundStock(SelfFundModel model){
		setStkCode(model.getStockNo());
		setStkName(model.getStockName());
		setCostPrice(String.valueOf(model.getCurPrice()));
		setLinkId(System.currentTimeMillis());
		setIsAIOwner("Y");
		setTradeTime(new Date());
	}
}
